/**
 * @version 1.0.0
 * @Title: SoundbankResource
 * @Package: lx.music.sound.midi
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-10-25 18:48
 */
package lx.music.sound.midi;

/**
 * @version 1.0.0
 * @Title: SoundbankResource
 * @Package: lx.music.sound.midi
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-10-25 18:48
 */
public abstract class SoundbankResource {

    private final Soundbank soundbank ;

    private final String name ;

    private final Class dataClass ;

    protected SoundbankResource(Soundbank soundbank,String name, Class<?> dataClass){
        this.soundbank = soundbank ;
        this.name = name ;
        this.dataClass = dataClass ;
    }

    public Soundbank getSoundbank(){
        return soundbank;
    }

    public String getName(){
        return name ;
    }

    public Class<?> getDataClass(){
        return dataClass ;
    }

    public abstract Object getData() ;

}
